export function downFileFromBlob(blob, fileName) {
  const url = URL.createObjectURL(blob);

  const a = document.createElement('a');

  a.style.display = 'none';

  a.href = url;

  a.download = fileName;

  document.body.appendChild(a);

  a.click();

  document.body.removeChild(a);

  URL.revokeObjectURL(url);
}
